package jmu.edu.yjc.service.neo4j;

import jmu.edu.yjc.domain.ResponseResult;
import jmu.edu.yjc.domain.entity.Dept;
import jmu.edu.yjc.domain.entity.neo4j.NodeEntity.Disease;
import jmu.edu.yjc.domain.entity.neo4j.dto.DiseabledDto;

import java.io.IOException;
import java.util.List;

public interface DiseabledService {
    ResponseResult getDiseabledList(Integer pageNum, Integer pageSize, String diseaseName);

    ResponseResult removeByIds(List<String> asList);

    ResponseResult updateById(DiseabledDto  disease);

    ResponseResult getById(Long id);

    ResponseResult searchNodeByName(String relation, String type, String query);

    ResponseResult saveDiseabled(DiseabledDto dto) throws IOException;

    ResponseResult updateCache();

    ResponseResult getTotal();

    ResponseResult randomDisable(Integer total);
}
